package com.level2app.ui.account;

import com.level2app.R;
import com.level2app.base.BaseActivity;
import com.level2app.base.BaseViewModel;
import com.level2app.databinding.ActivitySettingsBinding;
import com.level2app.utils.JumpIntent;

/**
 * 设置
 */
public class SettingsActivity extends BaseActivity<ActivitySettingsBinding, BaseViewModel> {

    @Override
    protected BaseViewModel bindModel() {
        return getViewModel(this, BaseViewModel.class);
    }

    @Override
    protected void initInject() {
        getActivityComponent().inject(this);
    }

    @Override
    protected void initData() {
        initTitleBar(getString(R.string.settings));
    }

    @Override
    protected void initClick() {
        viewModel.onDelayClick(binding.noticeLl, o -> JumpIntent.jump(this, SettingNoticeActivity.class));
    }
}